#include "heap_node.h"

heap_node::heap_node(){
	this->key = 0;
	this->value = 0;
}

heap_node::heap_node(int key, int value){
	this->key = key;
	this->value = value;
}

heap_node::heap_node(const heap_node& node){
	this->key = node.key;
	this->value = node.value;
}

heap_node& heap_node::operator = (const heap_node& node){
	this->key = node.key;
	this->value = node.value;
	return *this;
}

bool heap_node::operator < (const heap_node& node){
	return value < node.value;
}

bool heap_node::operator <= (const heap_node& node){
	return value <= node.value;
}